package com.guofen.service.yf;

import com.guofen.pojo.RdFeed;

import java.util.List;
import java.util.Map;

public interface RdFeedService {
    boolean submitAllInfo(RdFeed record);
    RdFeed getlast();
    String addFirst(String save,String feedDate,String deviceName_1,String crushStarttime,String crushEndtime,String batch,
                     String zubie,String boxNumber,String incomingSceneMaterial,String crushMaterialWeight,String remark,String recorder);
    List<RdFeed> getList();
    boolean addSecond(String belongToId,String deviceName_2,String mixStarttime,String mixEndtime,String remark,String recorder);
    List<RdFeed> getList2();
    boolean addThird(String belongToId,String deviceName_3,String feedStarttime,String feedEndtime,String feedWeight,String cultivateBoxWeight,String targetWeight,String insectResidusBoxWeight,String insectResidusWeight,String remark,String recorder);

    public Map<String, Object> get(int pageSize, int currentPage);

    public Map<String, Object> getByTime(int pageSize, int currentPage, long startTime, long endTime);

    public int delete(int id);

    public int update(RdFeed record);
}
